package com.mall507.comn.model;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

/**
 * 商城首页购买提示消息框
 * */
@Table(name = "StoreMainBarrage")
public class StoreMainBarrage extends Model{
	@Column(name = "lid", unique = true, onUniqueConflict = Column.ConflictAction.REPLACE)// 本地数据ID
	private String lid;
    @Column(name = "nid")//数据网络ID
    private String nid;
	@Column(name = "num")//排序
	private String num;
	@Column(name = "msg")//消息
	private String msg;
    @Column(name = "isShow")//是否已被显示过 0:未被显示过 1:已经被显示过
    private Integer isShow;

    public String getNid() {
        return nid;
    }

    public StoreMainBarrage setNid(String nid) {
        this.nid = nid;
        return this;
    }

    public String getNum() {
        return num;
    }

    public StoreMainBarrage setNum(String num) {
        this.num = num;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public StoreMainBarrage setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public StoreMainBarrage setIsShow(Integer isShow) {
        this.isShow = isShow;
        return this;
    }
}
